package com.xmx.ndmallrabbitstarter.constants;

/**
 * @Description: 用一句话描述
 * @Auther: 新梦想*陈超
 * @Date: 2021/9/3 15:32
 */
public class RabbitMessageConstants {
    public static final String STOCK_EVENT_EXCHAGE="stock.event.exchange";
    public static final String STOCK_LOCK_QUEUE="stock.lock.queue";
    public static final String STOCK_LOCK_DLK="stock.lock";
    /*  * : 至少1个字符  # 表示0个或多个字符   */
    public static final String STOCK_LOCK_BINDING_KEY="stock.lock.#";
    public static final String STOCK_RELASE_QUEUE="stock.release.queue";
    public static final String STOCK_RELEASE_DLK="stock.release";
    public static final String STOCK_RELEASE_BINDIND_KEY="stock.release.#";

    public static final String ORDER_EVENT_EXCHAGE="order.event.exchange";
    public static final String ORDER_CREATE_QUEUE="order.create.queue";
    public static final String ORDER_CREATE_DLK="order.create";
    public static final String ORDER_CREATE_BINDING_KEY="order.create.#";
    public static final String ORDER_CLOSE_QUEUE="order.close.queue";
    public static final String ORDER_CLOSE_DLK="order.close";
    public static final String ORDER_CLOSE_BINDIND_KEY="order.close.#";
    public static final String ORDER_CLOSE_OTHER_BINDIND_KEY="order.close.other.#";

}
